FeatureModuleContext

Properties

Link copied to clipboard
abstract val build: Int

Returns the build number of Moneydance. This build number is incremented with every public release of Moneydance.

Link copied to clipboard

Returns the account book object that acts as a wrapper for the entire data model.

Link copied to clipboard
abstract val rootAccount: Account?

Returns the root account object. From this object, all data and objects that are used by Moneydance can be accessed.

Link copied to clipboard
abstract val version: String

Returns the string representation of the current version of Moneydance.

Functions

Link copied to clipboard
abstract fun registerAccountEditor(module: FeatureModule, accountType: Int, editor: AccountEditor)

Register the given AccountEditor so that it can be used to edit information about accounts within Moneydance.

Link copied to clipboard
abstract fun registerFeature(module: FeatureModule, parameters: String?, buttonImage: Image?, buttonText: String)

This will notify Moneydance that this extension provides a feature that may be useful to the user. With the GUI version of Moneydance this will cause a button to be added to the main toolbar with the given button image. The parameters value will be passed to the invoke(String) method when the registered feature is invoked by the user.

Link copied to clipboard
abstract fun registerHomePageView(module: FeatureModule, view: HomePageView)

This will notify Moneydance that this extension provides a view that can be embedded in the home page. The view is provided, but is only activated when the view is added to the home page. Note: This is only available in build 256 and later.

Link copied to clipboard
abstract fun showURL(url: String)

Show the following URL in Moneydance. This can be a simple http URL or it can be a moneydance: URL. URL's starting with "moneydance:" invoke features in other parts of the program. Full documentation of the features invokable through moneydance URLs is not yet available. Please email sreilly at moneydance.com for documentation.